package com.salary.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.salary.entity.Qiandao;
import com.salary.entity.Qingjia;
import com.salary.entity.view.QiandaoView;
import com.salary.entity.view.QingjiaView;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 数据访问层
 */
public interface QiandaoMapper extends BaseMapper<Qiandao> {


    /**
     * 列表
     * @param iPage
     * @param obj
     * @return
     */
    List<QingjiaView> list(@Param("iPage") IPage iPage, @Param("obj") QiandaoView obj);

    /**
     * 签退
     * @return
     */
    QiandaoView getQiantui(@Param("employeeId")Integer employeeId);

    /**
     * 签到
     * @return
     */
    QiandaoView getQiandao(@Param("employeeId") Integer employeeId);




}
